Text only

When you export a model file in “Text only” format, you get a file containing plain unformatted text and no graphics. This simple format makes the data available to almost any text editor or spreadsheet program. 

When the export file is produced, DynRisk starts with the current folder, i.e., the one whose contents are shown in the active window, and then runs through all subfolders of this down to the lowest level in the folder structure. This means that only objects in the current folder or below will be exported. If you want to export the entire model file, make sure that the active window is the main document window, i.e., the window corresponding to the top level in the folder structure.

In the “Text only” view you control the format of the “Text only” export file. The checkboxes in the upper part of this view are used to specify what you want to include in the file.

If you include node tables, the text file will contain a node table for each folder. You control the contents of each row by using the 12 checkboxes in the lower part of the dialog box. The following attributes are available:

• Name

• Code

• Unit

• Kind

• Algorithm

• Operator 1

• Operator 2

• Distr. type

• Local factor

• Parameter (a)

• Parameter (b)

• Parameter (c)

If a folder contains an alias of a node, the corresponding table row will display data taken from the node which the alias refers to. If you have a lot of aliases in your model, there will be lots of redundancy in the export file. If you want to avoid this, you can check the “Don't table aliases” option.

If you have entered a lot of information in the “Get info…” dialog boxes, you may want this to be included in the export file. To accomplish this, check the “Include node info” option. In fact by checking this option, you include folder info as well.

If you include edge tables, the text file will contain an edge table for each folder. In each table row you will find the following attributes:

• Input name

• Output name

• Function

• Parameter (a)

• Parameter (b)

• Parameter (c)

• Parameter (d)

• Parameter (e)

If an edge has an associated function, it is called a “gray” edge. Other edges are called “black” edges. Since black edges do not contain any data, you may want to skip them in the exported file. This is done by checking the “Don't table black edges” option.

Finally you can include a table of the references in the model file by checking the “Include references” option. Each row in this table will contain the name of one of the references as well as data for the node which the reference is associated with.

The “Doc.type” popup menu is used to select the creator application for the export file. If you e.g., use Microsoft Word to view the export file, you should choose this application in the “Doc.type” menu. By doing this, the export file gets the correct icon, and you can open it with the right application simply by double-clicking its icon in the Finder.

The last option you can set in this view is controlled by using the “Use table separators” checkbox. If you leave this option on, DynRisk will separate the different tables in the output file by dashed lines. If you view the resulting file using a text editor, you may find that these table separators increase the readability of the output. If you use a spreadsheet application to view the text file, you will probably decide that you do not need the separators. In this case you can turn the “Use table separators” off.